<template>
  <div class="hello">
    <h1>{{ msg }}</h1>
    <h2>Essential Links</h2>
    <ul>
      <li>
        <a
          href="https://vuejs.org"
          target="_blank"
        >
          Core Docs
        </a>
      </li>
      <li>
        <a
          href="https://forum.vuejs.org"
          target="_blank"
        >
          Forum
        </a>
      </li>
      <li>
        <a
          href="https://chat.vuejs.org"
          target="_blank"
        >
          Community Chat
        </a>
      </li>
      <li>
        <a
          href="https://twitter.com/vuejs"
          target="_blank"
        >
          Twitter
        </a>
      </li>
      <br>
      <li>
        <a
          href="http://vuejs-templates.github.io/webpack/"
          target="_blank"
        >
          Docs for This Template
        </a>
      </li>
    </ul>
    <h2>Ecosystem</h2>
    <ul>
      <li>
        <a
          href="http://router.vuejs.org/"
          target="_blank"
        >
          vue-router
        </a>
      </li>
      <li>
        <a
          href="http://vuex.vuejs.org/"
          target="_blank"
        >
          vuex
        </a>
      </li>
      <li>
        <a
          href="http://vue-loader.vuejs.org/"
          target="_blank"
        >
          vue-loader
        </a>
      </li>
      <li>
        <a
          href="https://github.com/vuejs/awesome-vue"
          target="_blank"
        >
          awesome-vue
        </a>
      </li>
      <li><router-link to="/radio">Radio</router-link></li>
      <li><router-link to="/select">Select</router-link></li>
      <li><router-link to="/checkbox">CheckBox</router-link></li>
      
    </ul>
    <div>7.3 组件通信</div>
    <ul>
      <li><router-link to="/emit">自定义事件</router-link></li>
      <li><router-link to="/connDemo1">使用v-model</router-link></li>
      <li><router-link to="/bus">非父子组件通信</router-link></li>
      <li><router-link to="/parentLink">父链</router-link></li>
      <li><router-link to="/childrenIndex">子组件索引</router-link></li>
    </ul>
    <div>7.4 使用 slot 分发内容</div>
    <ul>
      <li><router-link to="/slot">slot（插槽）</router-link></li>
      <li><router-link to="/slotName">具名slot</router-link></li>
      <li><router-link to="/slotScope">作用域插槽</router-link></li>
      <li><router-link to="/slotAccess">访问slot</router-link></li>
    </ul>
    <div>7.5组件</div>
    <ul>
      <li><router-link to="/liveComp">动态组件</router-link></li>
      <li><router-link to="/compAsync">异步组件</router-link></li>
    </ul>
    <ul>
      <li><router-link to="/nextTick">$nextTick</router-link></li>
      <li><router-link to="/xTemplates">X-Templates</router-link></li>
    </ul>
    <div>7.7实战：两个常用组件的开发</div>
    <ul>
      <li><router-link to="/numberComp">数字输入框组件</router-link></li>
      <li><router-link to="/tabPageDemo">标签页组件</router-link></li>
    </ul>
    <div>第 8 章 自定义指令</div>
    <ul>
      <li><router-link to="/dropDown">下拉菜单</router-link></li>
      <li><router-link to="/tabPageDemo"></router-link></li>
    </ul>
    <div>第 9 章 Render函数</div>
    <ul>
      <li><router-link to="/tableComp">使用Render函数开发可排序的表格组件</router-link></li>
      <li><router-link to="/messageList">留言列表</router-link></li>
    </ul>
    <div>第 11 章 插 件</div>
    <ul>
      <li><router-link to="/vueBus">中央事件总线插件 vue-bus</router-link></li>
    </ul>
    <div>第 12 章 iView 经典组件剖析</div>
    <ul>
      <li><router-link to="/vueBus">12.1 级联选择组件 Cascader</router-link></li>
      <li><router-link to="/collapse">12.2 折叠面板组件 Collapse</router-link></li>
    </ul>
    <div>第 13 章 知乎日报项目开发</div>
    <ul>
      <li><router-link to="/daily">知乎日报</router-link></li>
    </ul>
    <div>第 14 章 电商网站项目开发</div>
    <ul>
      <li><router-link to="/shopping">电商网站</router-link></li>
    </ul>

  </div>
</template>

<script>
export default {
  name: 'HelloWorld',
  data () {
    return {
      msg: 'Welcome to Your Vue.js App'
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
h1, h2 {
  font-weight: normal;
}
ul {
  list-style-type: none;
  padding: 0;
}
li {
  display: inline-block;
  margin: 0 10px;
}
a {
  color: #42b983;
}
</style>
